package Collection;

import java.util.Arrays;
import java.util.Collections;
import java.util.List;

import static java.util.Arrays.*;

/**
 * @author wuhan
 * @date 2019/9/29 14:56
 * asList将数组变成List集合
 */
public class arrays {
    public static void main(String[] args) {
//        String[] strings={"wuhan","ljy"};
//        List<String> strings1 = asList(strings);
//        for (String s : strings1) {
//            System.out.println(s);
//        }
//
//        Integer[] ints={1,2,3};
//        List<Integer> ints1 = asList(ints);
//        System.out.println(ints1);
//        int[] arr={2,3,4};
//        System.out.println(Arrays.toString(arr));

    }
}
